//
// Created by Japhy on 2017-8-29.
//

#ifndef PCSC_USBHOSTMANAGER_H
#define PCSC_USBHOSTMANAGER_H
#ifdef __cplusplus
extern "C" {
#endif

struct usb_device;

void UshHostManager_Init(void *thiz);
struct usb_device* UsbHostManager_waitForDevice(void);
int UsbHostManager_Device_write(struct usb_device* device, unsigned char buf[], int len, int waittime);
int UsbHostManager_Device_read(struct usb_device* device, unsigned char buf[], int len, int waittime);

#ifdef __cplusplus
}
#endif
#endif //PCSC_USBHOSTMANAGER_H
